new Vue({
    el: '#head',
    data() {
        return {
            activeIndex: '1',
            activeIndex2: '1',
            isLogin:false
        };
    },
    methods: {
        tranLogin() {
            this.isLogin = !this.isLogin
        },
        re() {
            window.location.href = "https://www.baidu.com"
        },
        handleSelect(key, keyPath) {
            console.log(key, keyPath);
        },
        myResume(){
            window.location.href = 'http://localhost:8001/resume';
        },
        myInfo(){
            window.location.href = 'http://localhost:8001/login_success';
        },
        myJob(){
            window.location.href = 'http://localhost:8001/myJob';
        },
        contact(){
            window.location.href = 'http://www.cqupt.edu.cn/';
        }

    }
})